<?php
 $this->load->model('commonmodel');
$reviews=$this->commonmodel->get_reviews();
/*echo "ss";
  print_r($reviews);*/
?>

<div>
    <p class="header"><img src="<?php echo base_url(); ?>images/h_worldriviews.jpg" width="200" height="18" /></p>
    <?php foreach ($reviews as $review) : ?>      
    <div id="worlwide_reviews">
      <p><img src="<?php echo base_url(); ?>images/uploads/thumb/thumb_<?php echo $review['image']?>"  width="137" height="51" class="worlwide_reviews_img" /></p>               
      <p><?php echo (strlen($review['title'])>30)?substr($review['title'], 0, 150)."...": $review['title']; ?></p>
    </div>
    <?php endforeach; ?>      
    
</div>
